package com.test.chatdemo.service;

import com.test.chatdemo.pojo.NewUser;
import com.test.chatdemo.pojo.User;
import org.springframework.stereotype.Service;

import java.util.List;


public interface UserService {

    User login(User user);

    void register(User user);

    String getUserName(User user);

    void changePassword(NewUser newUser);

    User getUser(User user);
}
